namespace CSharpPro;

public class Travel
{
    public static void main()
    {
        int money = 8800;
        Console.Write("请输入月份");
        int month = int.Parse(Console.ReadLine());
        Console.Write("0是航班,1是动车");
        int sys = int.Parse(Console.ReadLine());
        if (month <= 10 && month >= 5)
        {
            if (sys == 0)
            {
                money = (int)(money * 0.9);
            }
            else
            {
                money = (int)(money * 0.75);
            }
        }
        else
        {
            if (sys == 0)
            {
                money = (int)(money * 0.6);
            }
            else
            {
                money = (int)(money * 0.3);
            }
        }

        Console.WriteLine(money);
        Console.ReadKey();
    }
}